package {{.PackageName}}

import "time"

type {{.StructName}} struct {
{{- range .Fields}}
    {{.Name}} {{.Type}} `{{.Tag}} json:"{{.Json}}"`{{if .Comment}} // {{.Comment}}{{end}}{{end}}
}

func ({{.StructName}}) TableName() string {
    return "{{.TableName}}"
}